// FavoritesService.java 接口
package com.hadluo.qq.server.service;

import com.hadluo.qq.server.vo.FavoriteVO;
import com.hadluo.qq.server.vo.FriendVO;

import java.util.List;

public interface FavoritesService {
    boolean addFavorite(Long userId, Long friendId);
    boolean removeFavorite(Long userId, Long friendId);
    List<FriendVO> getFavoriteList(Long qqNumber);
    FavoriteVO getFavoriteDetail(Long userId, Long friendId);
    boolean isFavorite(Long userId, Long friendId);

    boolean deleteFavorite(Long userId, Long friendId);
}